﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcThongTinCaNhan.ascx.cs" Inherits="STT.Profilehv.UserControls.Index" %>
<link href="../css/bootstrap.css" rel="stylesheet" />
<link href="../css/style.css" rel="stylesheet" />
<div>
       <asp:DataList ID="DtlIndex" runat="server" DataKeyField="Mahv" Width="100%" CellPadding="0" CellSpacing="0" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="1px" OnCancelCommand="DtlIndex_CancelCommand" OnDeleteCommand="DtlIndex_DeleteCommand" OnEditCommand="DtlIndex_EditCommand" OnUpdateCommand="DtlIndex_UpdateCommand" >
            <ItemTemplate>
              <div id="biography" class="page home" data-pos="home">
                    <div class="pageheader">
                        <div class="headercontent">
                            <div class="section-container">   
                                <div class="row">
                                    <div class="col-sm-12 col-md-7">
                                        <h3 class="title"><asp:Label ID="Label1" runat="server" Text='<%# Bind("TenHV") %>'></asp:Label></h3>
                                        <p><asp:Label ID="Label2" runat="server" Text='<%# Bind("GhiChu") %>'></asp:Label></p>
                                    </div>  
                                    
                                </div>
                            </div>        
                        </div>
                    </div>
                    <div class="pagecontents">
                        <div class="section color-1">
                            <div class="section-container">
                                <div class="row">
                                    <div class="col-md-5 col-md-offset-1">
                                        <div class="title text-left">
                                            <h3>Thông tin cơ bản</h3>
                                        </div>
                                        <ul class="ul-dates">
                                            <li>
                                                <div class="dates">
                                                    <span>Tuổi</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label10" runat="server" Text='<%# Bind("Tuoi") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Quê Quán</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label11" runat="server" Text='<%# Bind("QueQuan") %>'></asp:Label></h4>
                                                    <p><em></em></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Địa chỉ</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label12" runat="server" Text='<%# Bind("DiaChi") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Số điện thoại</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label13" runat="server" Text='<%# Bind("Sdt") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                              <li>
                                                <div class="dates">
                                                    <span>Số CMTND</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label14" runat="server" Text='<%# Bind("SoCMT") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                             <li>
                                                <div class="dates">
                                                    <span>Trình độ chuyên môn</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label9" runat="server" Text='<%# Bind("TenTDChuyenMon") %>'></asp:Label></h4>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="title text-left">
                                            <h3>Công tác & Học Tập</h3>
                                        </div>
                                       <ul class="ul-dates">
                                            <li>
                                                <div class="dates">
                                                    <span>Đơn vị công tác</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label3" runat="server" Text='<%# Bind("Tendonvi") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Thời gian công tác</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label4" runat="server" Text='<%# Bind("ThoiGianCT") %>'></asp:Label></h4>
                                                    <p><em></em></p>
                                                </div>
                                            </li>
                                             <li>
                                                <div class="dates">
                                                    <span>Ngành công tác</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label6" runat="server" Text='<%# Bind("TenNganh") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                             <li>
                                                <div class="dates">
                                                    <span>Phòng ban</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label7" runat="server" Text='<%# Bind("TenPB") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Chức Vụ</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label5" runat="server" Text='<%# Bind("TenChucVu") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="dates">
                                                    <span>Trình độ học vấn</span>
                                                </div>
                                                <div class="content">
                                                    <h4><asp:Label ID="Label8" runat="server" Text='<%# Bind("TenTDHocVan") %>'></asp:Label></h4>
                                                    <p></p>
                                                </div>
                                            </li>
                                            
                                        </ul>
                                    </div>   
                                    <div class="imgbntedit">
                                        <asp:ImageButton runat="server" ID="ImageButton1" Width="100px" Height="100px" CausesValidation="false" CssClass="edit" CommandName="Edit" ToolTip="Chỉnh sửa thông tin cá nhân" ImageUrl="~/Profilehv/img/editprofile.png"/>  
                                    </div> 
                                </div>    
                            </div>      
                        </div>                                                  
                    </div>
                </div>
            </ItemTemplate>
            <EditItemTemplate>
                 <div id="biography" class="page home" data-pos="home">
                    <div class="pageheader">
                        <div class="headercontent">
                            <div class="section-container">   
                                <div class="row">
                                    <div class="col-sm-12 col-md-7">
                                        <h3 class="title"><asp:Label ID="Label1" runat="server" Text='<%# Bind("TenHV") %>'></asp:Label></h3>
                                        <p><asp:Label ID="Label2" runat="server" Text='<%# Bind("GhiChu") %>'></asp:Label></p>
                                    </div>  
                                    
                                </div>
                            </div>        
                        </div>
                    </div>
                    <div class="pagecontents">
                    <div class="section color-1">
                        <div class="section-container">
                            <div class="row">
                                <div class="col-md-12 col-md-offset-1">
                                <div class="title text-left">
                                    <h3>Chỉnh sửa thông tin cá nhân</h3>
                                </div>
                                <ul class="ul-dates">
                                    <li>
                                        <div class="row">
                                        <div class="dates">
                                            <span>Họ và Tên</span>
                                        </div>
                                        <div class="content2 col-xs-10">
                                            <asp:TextBox ID="txttenhv" runat="server" Height="33px" Width="91.66666666666666%" CssClass="form-control" Text='<%# Bind("Tenhv") %>'></asp:TextBox>
                                        </div>
                                       </div>
                                    </li>
                                    <li>
                                         <div class="row">
                                        <div class="dates">
                                            <span>Tuổi</span>
                                        </div>
                                        <div class="col-xs-10 content2">
                                            <asp:TextBox ID="txttuoi" runat="server" Width="91.66666666666666%" Height="33px" CssClass="form-control" Text='<%# Bind("Tuoi") %>'></asp:TextBox>        
                                        </div>
                                         </div>
                                    </li>
                                    <li>
                                         <div class="row">
                                        <div class="dates">
                                            <span>Quê Quán</span>
                                        </div>
                                        <div class="content2 col-xs-10">
                                            <asp:TextBox ID="txtquequan" runat="server" Height="33px" Width="91.66666666666666%" CssClass="form-control" Text='<%# Bind("QueQuan") %>'></asp:TextBox>
                                        </div>
                                             </div>
                                    </li>
                                    <li>
                                         <div class="row">
                                        <div class="dates">
                                            <span>Địa chỉ</span>
                                        </div>
                                        <div class="content2 col-xs-10">
                                            <asp:TextBox ID="txtdiachi" runat="server" Height="33px" Width="91.66666666666666%" CssClass="form-control" Text='<%# Bind("DiaChi") %>'></asp:TextBox>
                                        </div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                        <div class="dates">
                                            <span>Số điện thoại</span>
                                        </div>
                                        <div class="content2 col-xs-10">
                                            <asp:TextBox ID="txtsdt" runat="server" Height="33px" Width="91.66666666666666%" CssClass="form-control" Text='<%# Bind("Sdt") %>'></asp:TextBox>
                                        </div>
                                       </div>
                                    </li>
                                     <li>
                                        <div class="row">
                                        <div class="dates">
                                            <span>Ghi Chú</span>
                                        </div>
                                        <div class="content2 col-xs-10">
                                            <asp:TextBox ID="txtghichu" runat="server" TextMode="MultiLine" Width="91.66666666666666%" CssClass="form-control" Text='<%# Bind("Ghichu") %>'></asp:TextBox>
                                        </div>
                                         </div>
                                    </li>
                                     <li>
                                       <div class="row">
                                        <div class="dates">
                                            <span>Ảnh đại diện</span>
                                        </div>
                                        <div class="content2  col-xs-10">
                                            <asp:Image ID="Image1"  Width="120px" Height="150px" runat="server" ImageUrl='<%# "~/Profilehv/img/gallery/" + Eval("Anh") %>' /><br />
                                            <asp:FileUpload ID="Fulanh" runat="server" />
                                            <asp:TextBox ID="txtanh" Visible="false" runat="server"  Height="30px" CssClass="form-control" Text='<%# Bind("Anh") %>'></asp:TextBox>
                                        </div>
                                        </div>
                                    </li>
                                       <li>
                                        <div class="row">
                                        <div class="dates">
                                            <asp:Button ID="bntupdate" runat="server" CommandName="Update" Text="Update" Width="90px" Height="30px" CssClass="btn-primary btn" />  
                                        </div>
                                        <div class="content2">     
                                           <asp:Button ID="bntCancel" runat="server" CommandName="Update" Text="Cancel" Width="80px" Height="30px" CssClass="btn-primary btn" CausesValidation="false" />                                  
                                        </div>
                                        </div>
                                    </li>
                                </ul>
                                </div>
                           </div>    
                        </div>      
                      </div>                                                  
                      </div>
                </div>
            </EditItemTemplate>
        <AlternatingItemStyle BorderColor="#0066FF" />
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        <ItemStyle BorderColor="#CC00CC" BackColor="#EBEBEB"  ForeColor="Black" />
        <SelectedItemStyle BorderColor="#0066FF" BackColor="#9471DE" Font-Bold="True" 
            ForeColor="White" />
     </asp:DataList>

</div>